package pe.com.casadesign.domain;

import java.io.Serializable;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import com.thoughtworks.xstream.annotations.XStreamAlias;

@XStreamAlias("LineaDetalleBulto")
public class LineaDetalleBulto implements Serializable {
	private static final long serialVersionUID = 1L;
	
	private Bulto bulto;
	
	private Item item;
	
	private int componente;
	
	public Bulto getBulto() {
		return bulto;
	}

	public void setBulto(Bulto bulto) {
		this.bulto = bulto;
	}
	
	public Item getItem() {
		return item;
	}

	public void setItem(Item item) {
		this.item = item;
	}
	
	public int getComponente() {
		return componente;
	}

	public void setComponente(int componente) {
		this.componente = componente;
	}
	
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
	}

}
